<?php

namespace app\yunda\validate;
use think\Validate;
class Fee extends Validate
{
    //定义验证规则
    protected $rule = [
        'sp|寄件省份' => 'require',
        'sc|寄件城市' => 'require',
        'sa|寄件地区' => 'require',
        'gp|收件省份' => 'require',
        'gc|收件城市' => 'require',
        'ga|收件地区' => 'require',
        'weight|预估重量' => 'require|number|gt:0',
//        'long|长度' => 'require',
//        'wide|宽度' => 'require',
//        'high|高度' => 'require',
    ];

    //定义验证提示
    protected $message = [

    ];

}
